home *** CD-ROM | disk | FTP | other *** search
- light("spot_shadowmap")
- {
- pass()
- {
- VertexShader("SpotShadowMapVSVeryLow.vsh")
-
- tmu()
- {
- texgen("spotlight")
-
- texture()
- {
- shadowmap()
- addressfunc("clamp", "clamp", "clamp")
- }
-
- colorop("arg1", "texture", "current", "current")
- alphaop("arg1", "texture", "current", "current")
- }
-
- tmu()
- {
- texgen("shadowmap_z")
-
- texture()
- {
- image("spot_z_inv.png")
- addressfunc("clamp", "clamp", "clamp")
- filtering("no_filtering")
- }
-
- colorop("mul", "texture", "current", "current")
- alphaop("arg2", "texture", "tfactor", "current")
- }
-
- blendfunc("zero", "inv_src_color")
- depthfunc("lequal", 0)
- tfactor(0,0,0,0)
- blackfog()
- }
-
- }
-